package com.xqboss.apps.convert.punch;

import com.xqboss.apps.domain.punch.PunchUserRecord;
import com.xqboss.apps.vo.punch.UserPunchRecordVo;
import com.xqboss.apps.vo.punch.WebUserPunchRecordVo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 *     打卡用户记录转换器
 * </p>
 * @author Trent
 * @date 2023/8/17
 */
@Mapper(componentModel = "spring")
public interface PunchUserRecordConverter {

    public UserPunchRecordVo toVo(PunchUserRecord list);

    public List<UserPunchRecordVo> toVoList(List<PunchUserRecord> list);

    List<WebUserPunchRecordVo> toWebUsrePunchRecordVoList(List<PunchUserRecord> list);
}
